package com.example.myapplication.message;



import android.app.Application;
import android.content.Context;
import android.util.Log;

import androidx.annotation.NonNull;
import androidx.databinding.ObservableField;
import androidx.recyclerview.widget.RecyclerView;

import com.example.myapplication.base.BaseViewModel;

import java.util.List;

public class MessageViewModel extends BaseViewModel {

    private RecyclerView recyclerView;//声明RecyclerView
    private MessageAdapter adapterDome;//声明适配器
    private Context context;
    private List<String> list;

//    public ObservableField<List<BaseExpandableRecylerViewAdapter.DataTree>> dataTreeList=new ObservableField<>();


    public MessageViewModel(@NonNull Application application) {
        super(application);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Log.d("TAG", "onCreate: ");
    }

    public static void ToastMessage(){
        Log.d("TAG", "ToastMessage: ");

    }
}
